package com.editor.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.jws.HandlerChain;
import javax.xml.ws.BindingType;

@Controller
public class PageController {
    @GetMapping("/")
    public String markdownHtml() {
        return "markdown";
    }

    @GetMapping("/editor")
    public String editorHtml() {
        return "editor";

    }

}
